package cn.edu.sdjzu.xg.eagle.bysj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
@MapperScan("cn.edu.sdjzu.xg.eagle.bysj.Mapper")
public class BysjApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(BysjApplication.class, args);
    }
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder applicationBuilder) {
        return applicationBuilder.sources(BysjApplication.class);
    }
}
